﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aliphant.UI.AIChat.Models
{
    public class ChatAISetting
    {
        public ChatAISave param {  get; set; } = new();

        public ApiFactory[] apiFactory { get; set; } = [];
    }

    public class ChatAISave
    {
        public string factory { get; set; } = string.Empty;

        public string model { get; set; } = string.Empty;

        public bool stream { get; set; } = true;

        public Intelligent[] intelligents { get; set; } = [];
    }

    public class ApiFactory
    {
        public string name { get; set; } = string.Empty;

        public string api {  get; set; } = string.Empty;

        public string key {  get; set; } = string.Empty;

        public string[] models { get; set; } = [];
    }

    public class Intelligent
    {
        public int index { get; set; } = 0;

        public string path { get; set; } = string.Empty;
    }
}
